PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Crystalize / shifter - mosaique69.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=1.000 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=6 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.005 |
| 26 | fWaveScale=0.167 |
| 27 | fWaveSmoothing=0.000 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=1.000 |
| 30 | fModWaveAlphaEnd=1.000 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.772 |
| 33 | fZoomExponent=5.00873 |
| 34 | fShader=0.000 |
| 35 | zoom=1.01100 |
| 36 | rot=0.00300 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.00000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=1.000 |
| 45 | wave_g=1.000 |
| 46 | wave_b=1.000 |
| 47 | wave_x=0.950 |
| 48 | wave_y=1.000 |
| 49 | ob_size=0.005 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.000 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=0.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=52 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=1 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=0.01000 |
| 83 | wavecode_0_smoothing=0.00000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=0.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_init1=t8 = 1; |
| 89 | wave_0_init2=t1 = q5; |
| 90 | wave_0_per_point1=sp = sample*6.2832*32; |
| 91 | wave_0_per_point2= |
| 92 | wave_0_per_point3=ti = time*.005; |
| 93 | wave_0_per_point4= |
| 94 | wave_0_per_point5=x = .5 + (sin(ti*.95 + sp*1.1) + sin(ti*1.35 + sp*1.25)); |
| 95 | wave_0_per_point6=y = .5 + (sin(ti*1.12 + sp*.87) + sin(ti*.45 + sp*1.87)); |
| 96 | wave_0_per_point7= |
| 97 | wave_0_per_point8=x = abs(x); |
| 98 | wave_0_per_point9=y = abs(y); |
| 99 | wave_0_per_point10=x = x -int(x); |
| 100 | wave_0_per_point11=y = y -int(y); |
| 101 | wave_0_per_point12= |
| 102 | wave_0_per_point13=r = x; |
| 103 | wave_0_per_point14=g = 1-y; |
| 104 | wave_0_per_point15=b = 1; |
| 105 | wavecode_1_enabled=1 |
| 106 | wavecode_1_samples=12 |
| 107 | wavecode_1_sep=0 |
| 108 | wavecode_1_bSpectrum=0 |
| 109 | wavecode_1_bUseDots=1 |
| 110 | wavecode_1_bDrawThick=0 |
| 111 | wavecode_1_bAdditive=0 |
| 112 | wavecode_1_scaling=0.01240 |
| 113 | wavecode_1_smoothing=0.00000 |
| 114 | wavecode_1_r=0.500 |
| 115 | wavecode_1_g=0.600 |
| 116 | wavecode_1_b=1.000 |
| 117 | wavecode_1_a=1.000 |
| 118 | wave_1_init1=t8 = 1; |
| 119 | wave_1_init2=t1 = q5; |
| 120 | wave_1_per_point1=ti = q2*.9 - sample*0; |
| 121 | wave_1_per_point2= |
| 122 | wave_1_per_point3=x = .5 + (sin(ti*.95) + sin(ti*1.35))*.25; |
| 123 | wave_1_per_point4=y = .5 + (sin(ti*1.12) + sin(ti*.45))*.25; |
| 124 | wave_1_per_point5= |
| 125 | wave_1_per_point6=r = x; |
| 126 | wave_1_per_point7=g = 1-y; |
| 127 | wave_1_per_point8= |
| 128 | wave_1_per_point9=y = (y-.5)/q20+.5; |
| 129 | wave_1_per_point10= |
| 130 | wave_1_per_point11=x = x + .005*(int(rand(1001))*.001*1 -.5); |
| 131 | wave_1_per_point12=y = y + .005*(int(rand(1001))*.001*1 -.5); |
| 132 | wave_1_per_point13= |
| 133 | wavecode_2_enabled=1 |
| 134 | wavecode_2_samples=12 |
| 135 | wavecode_2_sep=0 |
| 136 | wavecode_2_bSpectrum=0 |
| 137 | wavecode_2_bUseDots=1 |
| 138 | wavecode_2_bDrawThick=0 |
| 139 | wavecode_2_bAdditive=0 |
| 140 | wavecode_2_scaling=0.01303 |
| 141 | wavecode_2_smoothing=0.00000 |
| 142 | wavecode_2_r=1.000 |
| 143 | wavecode_2_g=1.000 |
| 144 | wavecode_2_b=1.000 |
| 145 | wavecode_2_a=1.000 |
| 146 | wave_2_init1=t8 = 1; |
| 147 | wave_2_init2=t1 = q5; |
| 148 | wave_2_per_frame1=t1=sin(time)*0.5+0.5; |
| 149 | wave_2_per_frame2=t2=sin(time+2.1)*0.5+0.5; |
| 150 | wave_2_per_frame3=t3=sin(time+4.2)*0.5+0.5; |
| 151 | wave_2_per_frame4= |
| 152 | wave_2_per_frame5=t4=sin(time+1.1)*0.5+0.5; |
| 153 | wave_2_per_frame6=t5=sin(time+3.1)*0.5+0.5; |
| 154 | wave_2_per_frame7=t6=sin(time+5.2)*0.5+0.5; |
| 155 | wave_2_per_point1=ti = q3*.9 - sample*0; |
| 156 | wave_2_per_point2= |
| 157 | wave_2_per_point3=x = .5 + (sin(ti*1.05) + sin(ti*.785))*.25; |
| 158 | wave_2_per_point4=y = .5 + (sin(ti*.882) + sin(ti*1.45))*.25; |
| 159 | wave_2_per_point5= |
| 160 | wave_2_per_point6=r = x; |
| 161 | wave_2_per_point7=g = 1-y; |
| 162 | wave_2_per_point8= |
| 163 | wave_2_per_point9=y = (y-.5)/q20+.5; |
| 164 | wave_2_per_point10= |
| 165 | wave_2_per_point11=x = x + .005*(int(rand(1001))*.001*1 -.5); |
| 166 | wave_2_per_point12=y = y + .005*(int(rand(1001))*.001*1 -.5); |
| 167 | wave_2_per_point13= |
| 168 | wavecode_3_enabled=1 |
| 169 | wavecode_3_samples=511 |
| 170 | wavecode_3_sep=4 |
| 171 | wavecode_3_bSpectrum=0 |
| 172 | wavecode_3_bUseDots=1 |
| 173 | wavecode_3_bDrawThick=0 |
| 174 | wavecode_3_bAdditive=0 |
| 175 | wavecode_3_scaling=0.02345 |
| 176 | wavecode_3_smoothing=0.00000 |
| 177 | wavecode_3_r=1.000 |
| 178 | wavecode_3_g=1.000 |
| 179 | wavecode_3_b=1.000 |
| 180 | wavecode_3_a=1.000 |
| 181 | wave_3_init1=t2 = 0; |
| 182 | wave_3_init2=t3 = 0; |
| 183 | wave_3_init3=t4 = 0; |
| 184 | wave_3_init4=ab = 1; |
| 185 | wave_3_per_frame1=t1 = q4*0.75; |
| 186 | wave_3_per_frame2=t2 = q5*0.75; |
| 187 | wave_3_per_frame3=t3 = q6*0.75; |
| 188 | wave_3_per_frame4=t4 = q4*0.75; |
| 189 | wave_3_per_frame5=t5 = q5*0.75; |
| 190 | wave_3_per_frame6=t6 = q6*0.75; |
| 191 | wave_3_per_frame7=t8 = 1; |
| 192 | wave_3_per_point1=ti = q4*.9 - sample*0; |
| 193 | wave_3_per_point2= |
| 194 | wave_3_per_point3=x = .5 + (sin(ti*.545) + sin(ti*1.156))*.25; |
| 195 | wave_3_per_point4=y = .5 + (sin(ti*.4782) + sin(ti*1.068))*.25; |
| 196 | wave_3_per_point5= |
| 197 | wave_3_per_point6=r = x; |
| 198 | wave_3_per_point7=g = 1-y; |
| 199 | wave_3_per_point8= |
| 200 | wave_3_per_point9=y = (y-.5)/q20+.5; |
| 201 | wave_3_per_point10= |
| 202 | wave_3_per_point11=x = x + .005*(int(rand(1001))*.001*1 -.5); |
| 203 | wave_3_per_point12=y = y + .005*(int(rand(1001))*.001*1 -.5); |
| 204 | wave_3_per_point13= |
| 205 | shapecode_0_enabled=0 |
| 206 | shapecode_0_sides=100 |
| 207 | shapecode_0_additive=0 |
| 208 | shapecode_0_thickOutline=1 |
| 209 | shapecode_0_textured=0 |
| 210 | shapecode_0_num_inst=1 |
| 211 | shapecode_0_x=1.000 |
| 212 | shapecode_0_y=0.500 |
| 213 | shapecode_0_rad=0.04602 |
| 214 | shapecode_0_ang=0.00000 |
| 215 | shapecode_0_tex_ang=0.00000 |
| 216 | shapecode_0_tex_zoom=0.50330 |
| 217 | shapecode_0_r=1.000 |
| 218 | shapecode_0_g=0.000 |
| 219 | shapecode_0_b=0.000 |
| 220 | shapecode_0_a=1.000 |
| 221 | shapecode_0_r2=1.000 |
| 222 | shapecode_0_g2=0.000 |
| 223 | shapecode_0_b2=0.000 |
| 224 | shapecode_0_a2=1.000 |
| 225 | shapecode_0_border_r=1.000 |
| 226 | shapecode_0_border_g=1.000 |
| 227 | shapecode_0_border_b=1.000 |
| 228 | shapecode_0_border_a=0.000 |
| 229 | shape_0_init1=vx = 0; |
| 230 | shape_0_init2=vy = 0; |
| 231 | shape_0_per_frame1=x = int(rand(1001))*.001; |
| 232 | shape_0_per_frame2=y = int(rand(1001))*.001; |
| 233 | shape_0_per_frame3= |
| 234 | shape_0_per_frame4=r = x; |
| 235 | shape_0_per_frame5=g = 1-y; |
| 236 | shape_0_per_frame6=b = 1; |
| 237 | shape_0_per_frame7=r2=r; |
| 238 | shape_0_per_frame8=g2=g; |
| 239 | shape_0_per_frame9=b2=b; |
| 240 | shape_0_per_frame10= |
| 241 | shape_0_per_frame11= |
| 242 | shape_0_per_frame12=a = above(bass*mid*treb,int(rand(1001))*.001*8); |
| 243 | shape_0_per_frame13= |
| 244 | shape_0_per_frame14=a2 = a; |
| 245 | shapecode_1_enabled=0 |
| 246 | shapecode_1_sides=100 |
| 247 | shapecode_1_additive=0 |
| 248 | shapecode_1_thickOutline=1 |
| 249 | shapecode_1_textured=0 |
| 250 | shapecode_1_num_inst=1 |
| 251 | shapecode_1_x=1.000 |
| 252 | shapecode_1_y=0.500 |
| 253 | shapecode_1_rad=0.05615 |
| 254 | shapecode_1_ang=0.00000 |
| 255 | shapecode_1_tex_ang=0.00000 |
| 256 | shapecode_1_tex_zoom=0.50330 |
| 257 | shapecode_1_r=0.000 |
| 258 | shapecode_1_g=1.000 |
| 259 | shapecode_1_b=0.000 |
| 260 | shapecode_1_a=1.000 |
| 261 | shapecode_1_r2=0.000 |
| 262 | shapecode_1_g2=1.000 |
| 263 | shapecode_1_b2=0.000 |
| 264 | shapecode_1_a2=1.000 |
| 265 | shapecode_1_border_r=1.000 |
| 266 | shapecode_1_border_g=1.000 |
| 267 | shapecode_1_border_b=1.000 |
| 268 | shapecode_1_border_a=0.000 |
| 269 | shape_1_init1=vx = 0; |
| 270 | shape_1_init2=vy = 0; |
| 271 | shape_1_per_frame1=ti = q2*.9; |
| 272 | shape_1_per_frame2= |
| 273 | shape_1_per_frame3=x = .5 + (sin(ti*.95) + sin(ti*1.35))*.25; |
| 274 | shape_1_per_frame4=y = .5 + (sin(ti*1.12) + sin(ti*.45))*.25; |
| 275 | shape_1_per_frame5= |
| 276 | shape_1_per_frame6=r = x; |
| 277 | shape_1_per_frame7=g = 1-y; |
| 278 | shape_1_per_frame8=b = 1; |
| 279 | shape_1_per_frame9=r2=r; |
| 280 | shape_1_per_frame10=g2=g; |
| 281 | shape_1_per_frame11=b2=b; |
| 282 | shape_1_per_frame12= |
| 283 | shape_1_per_frame13= |
| 284 | shape_1_per_frame14=a = above(bass*mid*treb,int(rand(1001))*.001*2); |
| 285 | shape_1_per_frame15= |
| 286 | shape_1_per_frame16=a2 = a; |
| 287 | shapecode_2_enabled=0 |
| 288 | shapecode_2_sides=4 |
| 289 | shapecode_2_additive=0 |
| 290 | shapecode_2_thickOutline=1 |
| 291 | shapecode_2_textured=0 |
| 292 | shapecode_2_num_inst=1 |
| 293 | shapecode_2_x=1.000 |
| 294 | shapecode_2_y=0.500 |
| 295 | shapecode_2_rad=1.00591 |
| 296 | shapecode_2_ang=0.00000 |
| 297 | shapecode_2_tex_ang=0.00000 |
| 298 | shapecode_2_tex_zoom=0.50330 |
| 299 | shapecode_2_r=0.000 |
| 300 | shapecode_2_g=0.000 |
| 301 | shapecode_2_b=1.000 |
| 302 | shapecode_2_a=1.000 |
| 303 | shapecode_2_r2=0.000 |
| 304 | shapecode_2_g2=0.000 |
| 305 | shapecode_2_b2=1.000 |
| 306 | shapecode_2_a2=1.000 |
| 307 | shapecode_2_border_r=1.000 |
| 308 | shapecode_2_border_g=1.000 |
| 309 | shapecode_2_border_b=1.000 |
| 310 | shapecode_2_border_a=0.000 |
| 311 | shape_2_init1=vx = 0; |
| 312 | shape_2_init2=vy = 0; |
| 313 | shape_2_per_frame1=x = 1.2; |
| 314 | shape_2_per_frame2=y = q3- 0.4; |
| 315 | shapecode_3_enabled=0 |
| 316 | shapecode_3_sides=4 |
| 317 | shapecode_3_additive=0 |
| 318 | shapecode_3_thickOutline=0 |
| 319 | shapecode_3_textured=0 |
| 320 | shapecode_3_num_inst=1 |
| 321 | shapecode_3_x=0.500 |
| 322 | shapecode_3_y=0.500 |
| 323 | shapecode_3_rad=0.10000 |
| 324 | shapecode_3_ang=0.00000 |
| 325 | shapecode_3_tex_ang=0.00000 |
| 326 | shapecode_3_tex_zoom=1.00000 |
| 327 | shapecode_3_r=1.000 |
| 328 | shapecode_3_g=0.000 |
| 329 | shapecode_3_b=0.000 |
| 330 | shapecode_3_a=1.000 |
| 331 | shapecode_3_r2=0.000 |
| 332 | shapecode_3_g2=1.000 |
| 333 | shapecode_3_b2=0.000 |
| 334 | shapecode_3_a2=0.000 |
| 335 | shapecode_3_border_r=1.000 |
| 336 | shapecode_3_border_g=1.000 |
| 337 | shapecode_3_border_b=1.000 |
| 338 | shapecode_3_border_a=0.100 |
| 339 | per_frame_1=vb = vb*0.95 + (1-vb)*pow(bass*treb*mid,2)*0.02; |
| 340 | per_frame_2=vvb = vvb*0.95 + (1-vvb)*vb*0.01; |
| 341 | per_frame_3=vm = vm*0.95 + (1-vm)*pow(mid,2)*0.02; |
| 342 | per_frame_4=vvm = vvm*0.95 + (1-vvm)*vm*0.01; |
| 343 | per_frame_5=vt = vt*0.95 + (1-vt)*pow(treb,2)*0.02; |
| 344 | per_frame_6=vvt = vvt*0.95 + (1-vvt)*vt*0.01; |
| 345 | per_frame_7=vvb = min(1,max(0,vvb)); |
| 346 | per_frame_8=vvm = min(1,max(0,vvm)); |
| 347 | per_frame_9=vvt = min(1,max(0,vvt)); |
| 348 | per_frame_10=q1 = vvb*2;//0.5 + vb - vvb; |
| 349 | per_frame_11=q2 = vvm*2;//0.5 + vm - vvm; |
| 350 | per_frame_12=q3 = vvt*2;//0.5 + vt - vvt; |
| 351 | per_frame_13=v=2; |
| 352 | per_frame_14=bb = bb - vvb*v; |
| 353 | per_frame_15=mm = mm - vvm*v; |
| 354 | per_frame_16=tt = tt - vvt*v; |
| 355 | per_frame_17=q4 = -bb; |
| 356 | per_frame_18=q5 = -mm; |
| 357 | per_frame_19=q6 = -tt; |
| 358 | per_frame_20=q4=(q1+q2+q3)*5; |
| 359 | per_frame_21=q5=(q1+q2+q3)*5; |
| 360 | per_frame_22=q6=(q1+q2+q3)*5; |
| 361 | per_frame_23=q7=(q1+q2+q3)*5; |
| 362 | per_frame_24=q8=(q1+q2+q3)*5; |
| 363 | per_frame_25=q9=(q1+q2+q3)*5; |
| 364 | per_frame_26=q10=(q1+q2+q3)*5; |
| 365 | per_frame_27=q11=(q1+q2+q3)*5; |
| 366 | per_frame_28=q12=(q1+q2+q3)*5; |
| 367 | per_frame_29=q13=(q1+q2+q3)*5; |
| 368 | per_frame_30=q14=(q1+q2+q3)*5; |
| 369 | per_frame_31=q15=(q1+q2+q3)*5; |
| 370 | per_frame_32=q16=(q1+q2+q3)*5; |
| 371 | per_frame_33=q17=(q1+q2+q3)*5; |
| 372 | per_frame_34=q18=(q1+q2+q3)*5; |
| 373 | per_frame_35=q19=(q1+q2+q3)*5; |
| 374 | per_frame_36=q20=(q1+q2+q3)*5; |
| 375 | per_frame_37=q21=(q1+q2+q3)*5; |
| 376 | per_frame_38=q22=(q1+q2+q3)*5; |
| 377 | per_frame_39=q23=(q1+q2+q3)*5; |
| 378 | per_frame_40=q24=(q1+q2+q3)*5; |
| 379 | per_frame_41=q25=(q1+q2+q3)*5; |
| 380 | per_frame_42=q26=(q1+q2+q3)*5; |
| 381 | per_frame_43=q27=(q1+q2+q3)*5; |
| 382 | per_frame_44=q28=(q1+q2+q3)*5; |
| 383 | per_frame_45=q29=(q1+q2+q3)*5; |
| 384 | per_frame_46=q30=(q1+q2+q3)*5; |
| 385 | per_frame_47=q31=(q1+q2+q3)*5; |
| 386 | per_frame_48=q32=(q1+q2+q3)*5; |
| 387 | per_frame_49=t = time*12.3; |
| 388 | per_frame_50=rot = rot + 0.030*( 0.60*sin(0.38*time) + 0.40*sin(0.54*time) ); |
| 389 | per_frame_51=dx = dx + 0.002*( 0.60*sin(0.434*time) + 0.40*sin(0.277*time) ); |
| 390 | per_frame_52=dy = dy + 0.002*( 0.60*sin(0.384*time) + 0.40*sin(0.477*time) ); |
| 391 | per_frame_53=//rot = 0; |
| 392 | per_frame_54=//wave_a = 0; |
| 393 | warp_1=`shader_body |
| 394 | warp_2=`{ |
| 395 | warp_3=`float2 pixelsize = texsize.zw; |
| 396 | warp_4=`float2 uvm = uv; |
| 397 | warp_5=` |
| 398 | warp_6=`float2 noise_uv = uv_orig*texsize.xy*texsize_noise_lq.zw + rand_frame.xy; |
| 399 | warp_7=`float4 noiseVal = tex2D(sampler_noise_lq, noise_uv); |
| 400 | warp_8=` |
| 401 | warp_9=`ret.xyz = saturate(tex2D( sampler_pw_main,uvm).xyz*float3(1,1,1) - float3(.0,.0,.0)); |
| 402 | warp_10=`ret.xyz = tex2D( sampler_pw_main,uvm).xyz; |
| 403 | warp_11=` |
| 404 | warp_12=` |
| 405 | warp_13=`float3 rsamp = tex2D(sampler_pw_main,uvm + (noiseVal.xy-.5)*12*pixelsize).xyz; |
| 406 | warp_14=`if (length(ret.xy - uvm) > length(rsamp.xy - uvm)) { |
| 407 | warp_15=`ret.xy = rsamp.xy; |
| 408 | warp_16=`} |
| 409 | warp_17=` |
| 410 | warp_18=`rsamp = tex2D(sampler_pw_main,uvm + (noiseVal.zw-.5)*48*pixelsize).xyz; |
| 411 | warp_19=`if (length(ret.xy - uvm) > length(rsamp.xy - uvm)) { |
| 412 | warp_20=`ret.xy = rsamp.xy; |
| 413 | warp_21=`} |
| 414 | warp_22=` |
| 415 | warp_23=`ret.z = tex2D(sampler_fw_main,ret.xy).z; |
| 416 | warp_24=` |
| 417 | warp_25=`ret.z -= q1*.005; |
| 418 | warp_26=` |
| 419 | warp_27=`if (ret.z < .09) { |
| 420 | warp_28=`ret*=0; |
| 421 | warp_29=`} |
| 422 | warp_30=` |
| 423 | warp_31=`//ret.y *= 1- ret.z*.005; |
| 424 | warp_32=` |
| 425 | warp_33=`//ret*=0; |
| 426 | warp_34=` |
| 427 | warp_35=`} |
| 428 | comp_1=`shader_body |
| 429 | comp_2=`{ |
| 430 | comp_3=` |
| 431 | comp_4=`half1 mod = 0; |
| 432 | comp_5=`//ret.z = 0; |
| 433 | comp_6=` |
| 434 | comp_7=`float2 oset = float2(3,0)*texsize.zw; |
| 435 | comp_8=`ret.xy = tex2D(sampler_main, uv+oset).xy; |
| 436 | comp_9=`float2 rsamp = tex2D(sampler_main, uv - oset).xy; |
| 437 | comp_10=` |
| 438 | comp_11=`float4 dist = float4(ret.x,ret.y,rsamp.x,rsamp.y); |
| 439 | comp_12=`dist -= uv.xyxy; |
| 440 | comp_13=`dist *= dist; |
| 441 | comp_14=`dist += dist.yxwz; |
| 442 | comp_15=`dist = pow(dist,.5); |
| 443 | comp_16=` |
| 444 | comp_17=`if (abs(ret.x-rsamp.x) > 0) { |
| 445 | comp_18=`if (abs(dist.x-dist.z) < .1) { |
| 446 | comp_19=`mod = 1; |
| 447 | comp_20=`} |
| 448 | comp_21=`} |
| 449 | comp_22=` |
| 450 | comp_23=`oset = float2(0,3)*texsize.zw; |
| 451 | comp_24=`ret.xy = tex2D(sampler_main, uv+oset).xy; |
| 452 | comp_25=`rsamp = tex2D(sampler_main, uv - oset).xy; |
| 453 | comp_26=` |
| 454 | comp_27=`dist = float4(ret.x,ret.y,rsamp.x,rsamp.y); |
| 455 | comp_28=`dist -= uv.xyxy; |
| 456 | comp_29=`dist *= dist; |
| 457 | comp_30=`dist += dist.yxwz; |
| 458 | comp_31=`dist = pow(dist,.5); |
| 459 | comp_32=` |
| 460 | comp_33=`if (abs(ret.y-rsamp.y) > 0) { |
| 461 | comp_34=`if (abs(dist.x-dist.z) < .1) { |
| 462 | comp_35=`mod = 1; |
| 463 | comp_36=`} |
| 464 | comp_37=`} |
| 465 | comp_38=` |
| 466 | comp_39=` |
| 467 | comp_40=`ret.xy = tex2D(sampler_main, uv).xy-mod.xx; |
| 468 | comp_41=` |
| 469 | comp_42=`//ret.x *= 2; |
| 470 | comp_43=` |
| 471 | comp_44=` |
| 472 | comp_45=`ret *= 1-pow(length(ret.xy-uv),float3(.5,.1,.5) +.8*mod); |
| 473 | comp_46=` |
| 474 | comp_47=` |
| 475 | comp_48=`ret.xy *= tex2D(sampler_main, uv).z; |
| 476 | comp_49=`ret.z = 2.5*ret.y*ret.y; |
| 477 | comp_50=`//ret.z = .5*ret.y; |
| 478 | comp_51=` |
| 479 | comp_52=`} |